package com.cai.oamanager.service.impl;

import com.cai.oamanager.dao.CategoryDao;
import com.cai.oamanager.entity.Category;
import com.cai.oamanager.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/16 14 : 34
 * @package：com.cai.oamanager.service.impl
 */
@Service
public class CategoryServiceImpl implements CategoryService {

    @Autowired
    private CategoryDao categoryDao;
    @Override
    public List<Category> allCategory(String auth) {
        return categoryDao.allCategory(auth);
    }
}
